import request from '@/utils/request'

export function loginApi(data) {
  return request({
    url: "/admin/index/login",
    method: "post",
    data,
  });
}


export const getInfoApi = () =>
  request({
    url: "/admin/index/userinfo",
    method: "POST",
  });

